package staff.logic;

import java.util.List;

import staff.logic.Employee.PositionType;

public class Other extends Position {

    public Other(Employee employe) {
        super(employe);
        description = "Employe of some other type";
    }

    @Override
    public List<Employee> getSubordinate(EmployeSystem employeSystem) {
        throw new UnsupportedOperationException("Only manager has subordinate");
    }

    @Override
    public PositionType getType() {
        return PositionType.OTHER;
    }

    @Override
    public String getDescription() {
        return description;
    }

    @Override
    public void setDescription(String description) {
        this.description = description;
    }

}
